import 'package:fate_blind_box/generated/json/base/json_convert_content.dart';
import 'package:fate_blind_box/im/entity/addmember_entity.dart';

AddmemberEntity $AddmemberentityEntityFromJson(Map<String, dynamic> json) {
	final AddmemberEntity addmemberEntity = AddmemberEntity();
	final String? msg = jsonConvert.convert<String>(json['msg']);
	if (msg != null) {
		addmemberEntity.msg = msg;
	}
	final int? code = jsonConvert.convert<int>(json['code']);
	if (code != null) {
		addmemberEntity.code = code;
	}
	final List<AddmemberData>? data = jsonConvert.convertListNotNull<AddmemberData>(json['data']);
	if (data != null) {
		addmemberEntity.data = data;
	}
	return addmemberEntity;
}

Map<String, dynamic> $AddmemberentityEntityToJson(AddmemberEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['msg'] = entity.msg;
	data['code'] = entity.code;
	data['data'] =  entity.data.map((v) => v.toJson()).toList();
	return data;
}

AddmemberData $AddmemberentityDataFromJson(Map<String, dynamic> json) {
	final AddmemberData addmemberentityData = AddmemberData();
	final int? contain = jsonConvert.convert<int>(json['contain']);
	if (contain != null) {
		addmemberentityData.contain = contain;
	}
	final String? id = jsonConvert.convert<String>(json['id']);
	if (id != null) {
		addmemberentityData.id = id;
	}
	final dynamic userName = jsonConvert.convert<dynamic>(json['userName']);
	if (userName != null) {
		addmemberentityData.userName = userName;
	}
	final String? nickName = jsonConvert.convert<String>(json['nickName']);
	if (nickName != null) {
		addmemberentityData.nickName = nickName;
	}
	final String? userSrc = jsonConvert.convert<String>(json['userSrc']);
	if (userSrc != null) {
		addmemberentityData.userSrc = userSrc;
	}
	final String? profileNo = jsonConvert.convert<String>(json['profileNo']);
	if (profileNo != null) {
		addmemberentityData.profileNo = profileNo;
	}
	final dynamic profileLevel = jsonConvert.convert<dynamic>(json['profileLevel']);
	if (profileLevel != null) {
		addmemberentityData.profileLevel = profileLevel;
	}
	final String? profilePhoto = jsonConvert.convert<String>(json['profilePhoto']);
	if (profilePhoto != null) {
		addmemberentityData.profilePhoto = profilePhoto;
	}
	final int? profileCategory = jsonConvert.convert<int>(json['profileCategory']);
	if (profileCategory != null) {
		addmemberentityData.profileCategory = profileCategory;
	}
	final dynamic expireLevelTime = jsonConvert.convert<dynamic>(json['expireLevelTime']);
	if (expireLevelTime != null) {
		addmemberentityData.expireLevelTime = expireLevelTime;
	}
	final dynamic memberExpire = jsonConvert.convert<dynamic>(json['memberExpire']);
	if (memberExpire != null) {
		addmemberentityData.memberExpire = memberExpire;
	}
	final String? profilePoints = jsonConvert.convert<String>(json['profilePoints']);
	if (profilePoints != null) {
		addmemberentityData.profilePoints = profilePoints;
	}
	final dynamic realName = jsonConvert.convert<dynamic>(json['realName']);
	if (realName != null) {
		addmemberentityData.realName = realName;
	}
	final int? realTitle = jsonConvert.convert<int>(json['realTitle']);
	if (realTitle != null) {
		addmemberentityData.realTitle = realTitle;
	}
	final int? realSex = jsonConvert.convert<int>(json['realSex']);
	if (realSex != null) {
		addmemberentityData.realSex = realSex;
	}
	final dynamic mobilePhone = jsonConvert.convert<dynamic>(json['mobilePhone']);
	if (mobilePhone != null) {
		addmemberentityData.mobilePhone = mobilePhone;
	}
	final dynamic homeAddr = jsonConvert.convert<dynamic>(json['homeAddr']);
	if (homeAddr != null) {
		addmemberentityData.homeAddr = homeAddr;
	}
	final dynamic workAddr = jsonConvert.convert<dynamic>(json['workAddr']);
	if (workAddr != null) {
		addmemberentityData.workAddr = workAddr;
	}
	final dynamic maritalStatus = jsonConvert.convert<dynamic>(json['maritalStatus']);
	if (maritalStatus != null) {
		addmemberentityData.maritalStatus = maritalStatus;
	}
	final dynamic childNum = jsonConvert.convert<dynamic>(json['childNum']);
	if (childNum != null) {
		addmemberentityData.childNum = childNum;
	}
	final dynamic nativePlace = jsonConvert.convert<dynamic>(json['nativePlace']);
	if (nativePlace != null) {
		addmemberentityData.nativePlace = nativePlace;
	}
	final String? nationality = jsonConvert.convert<String>(json['nationality']);
	if (nationality != null) {
		addmemberentityData.nationality = nationality;
	}
	final dynamic emailAddr = jsonConvert.convert<dynamic>(json['emailAddr']);
	if (emailAddr != null) {
		addmemberentityData.emailAddr = emailAddr;
	}
	final dynamic fixedPhone = jsonConvert.convert<dynamic>(json['fixedPhone']);
	if (fixedPhone != null) {
		addmemberentityData.fixedPhone = fixedPhone;
	}
	final String? openId = jsonConvert.convert<String>(json['openId']);
	if (openId != null) {
		addmemberentityData.openId = openId;
	}
	final int? regFlag = jsonConvert.convert<int>(json['regFlag']);
	if (regFlag != null) {
		addmemberentityData.regFlag = regFlag;
	}
	final int? singleState = jsonConvert.convert<int>(json['singleState']);
	if (singleState != null) {
		addmemberentityData.singleState = singleState;
	}
	final int? infoPer = jsonConvert.convert<int>(json['infoPer']);
	if (infoPer != null) {
		addmemberentityData.infoPer = infoPer;
	}
	final double? creditValue = jsonConvert.convert<double>(json['creditValue']);
	if (creditValue != null) {
		addmemberentityData.creditValue = creditValue;
	}
	final String? shareCode = jsonConvert.convert<String>(json['shareCode']);
	if (shareCode != null) {
		addmemberentityData.shareCode = shareCode;
	}
	final String? createUser = jsonConvert.convert<String>(json['createUser']);
	if (createUser != null) {
		addmemberentityData.createUser = createUser;
	}
	final dynamic updateUser = jsonConvert.convert<dynamic>(json['updateUser']);
	if (updateUser != null) {
		addmemberentityData.updateUser = updateUser;
	}
	final dynamic incomeVal = jsonConvert.convert<dynamic>(json['incomeVal']);
	if (incomeVal != null) {
		addmemberentityData.incomeVal = incomeVal;
	}
	final dynamic buyCar = jsonConvert.convert<dynamic>(json['buyCar']);
	if (buyCar != null) {
		addmemberentityData.buyCar = buyCar;
	}
	final dynamic purchase = jsonConvert.convert<dynamic>(json['purchase']);
	if (purchase != null) {
		addmemberentityData.purchase = purchase;
	}
	final dynamic domicilePlace = jsonConvert.convert<dynamic>(json['domicilePlace']);
	if (domicilePlace != null) {
		addmemberentityData.domicilePlace = domicilePlace;
	}
	final dynamic edu = jsonConvert.convert<dynamic>(json['edu']);
	if (edu != null) {
		addmemberentityData.edu = edu;
	}
	final dynamic weight = jsonConvert.convert<dynamic>(json['weight']);
	if (weight != null) {
		addmemberentityData.weight = weight;
	}
	final dynamic height = jsonConvert.convert<dynamic>(json['height']);
	if (height != null) {
		addmemberentityData.height = height;
	}
	final dynamic age = jsonConvert.convert<dynamic>(json['age']);
	if (age != null) {
		addmemberentityData.age = age;
	}
	final dynamic introduce = jsonConvert.convert<dynamic>(json['introduce']);
	if (introduce != null) {
		addmemberentityData.introduce = introduce;
	}
	final dynamic bornDate = jsonConvert.convert<dynamic>(json['bornDate']);
	if (bornDate != null) {
		addmemberentityData.bornDate = bornDate;
	}
	final dynamic animalSign = jsonConvert.convert<dynamic>(json['animalSign']);
	if (animalSign != null) {
		addmemberentityData.animalSign = animalSign;
	}
	final dynamic constellation = jsonConvert.convert<dynamic>(json['constellation']);
	if (constellation != null) {
		addmemberentityData.constellation = constellation;
	}
	final dynamic upprLine = jsonConvert.convert<dynamic>(json['upprLine']);
	if (upprLine != null) {
		addmemberentityData.upprLine = upprLine;
	}
	final dynamic offLine = jsonConvert.convert<dynamic>(json['offLine']);
	if (offLine != null) {
		addmemberentityData.offLine = offLine;
	}
	final dynamic occipation = jsonConvert.convert<dynamic>(json['occipation']);
	if (occipation != null) {
		addmemberentityData.occipation = occipation;
	}
	final dynamic school = jsonConvert.convert<dynamic>(json['school']);
	if (school != null) {
		addmemberentityData.school = school;
	}
	final dynamic aat = jsonConvert.convert<dynamic>(json['aat']);
	if (aat != null) {
		addmemberentityData.aat = aat;
	}
	final dynamic liveAddress = jsonConvert.convert<dynamic>(json['liveAddress']);
	if (liveAddress != null) {
		addmemberentityData.liveAddress = liveAddress;
	}
	final dynamic nation = jsonConvert.convert<dynamic>(json['nation']);
	if (nation != null) {
		addmemberentityData.nation = nation;
	}
	final int? isRealAuth = jsonConvert.convert<int>(json['isRealAuth']);
	if (isRealAuth != null) {
		addmemberentityData.isRealAuth = isRealAuth;
	}
	final dynamic signature = jsonConvert.convert<dynamic>(json['signature']);
	if (signature != null) {
		addmemberentityData.signature = signature;
	}
	final int? religiousBelief = jsonConvert.convert<int>(json['religiousBelief']);
	if (religiousBelief != null) {
		addmemberentityData.religiousBelief = religiousBelief;
	}
	final dynamic taList = jsonConvert.convert<dynamic>(json['taList']);
	if (taList != null) {
		addmemberentityData.taList = taList;
	}
	final dynamic favoriteCount = jsonConvert.convert<dynamic>(json['favoriteCount']);
	if (favoriteCount != null) {
		addmemberentityData.favoriteCount = favoriteCount;
	}
	final dynamic favoriteFlag = jsonConvert.convert<dynamic>(json['favoriteFlag']);
	if (favoriteFlag != null) {
		addmemberentityData.favoriteFlag = favoriteFlag;
	}
	final dynamic mcs = jsonConvert.convert<dynamic>(json['mcs']);
	if (mcs != null) {
		addmemberentityData.mcs = mcs;
	}
	final dynamic csRemarks = jsonConvert.convert<dynamic>(json['csRemarks']);
	if (csRemarks != null) {
		addmemberentityData.csRemarks = csRemarks;
	}
	final dynamic avatarList = jsonConvert.convert<dynamic>(json['avatarList']);
	if (avatarList != null) {
		addmemberentityData.avatarList = avatarList;
	}
	final String? easeuserId = jsonConvert.convert<String>(json['easeuserId']);
	if (easeuserId != null) {
		addmemberentityData.easeuserId = easeuserId;
	}
	final dynamic flist = jsonConvert.convert<dynamic>(json['flist']);
	if (flist != null) {
		addmemberentityData.flist = flist;
	}
	final dynamic tlist = jsonConvert.convert<dynamic>(json['tlist']);
	if (tlist != null) {
		addmemberentityData.tlist = tlist;
	}
	final dynamic fCount = jsonConvert.convert<dynamic>(json['fCount']);
	if (fCount != null) {
		addmemberentityData.fCount = fCount;
	}
	final dynamic tCount = jsonConvert.convert<dynamic>(json['tCount']);
	if (tCount != null) {
		addmemberentityData.tCount = tCount;
	}
	final dynamic taCount = jsonConvert.convert<dynamic>(json['taCount']);
	if (taCount != null) {
		addmemberentityData.taCount = taCount;
	}
	return addmemberentityData;
}

Map<String, dynamic> $AddmemberDataToJson(AddmemberData entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['contain'] = entity.contain;
	data['id'] = entity.id;
	data['userName'] = entity.userName;
	data['nickName'] = entity.nickName;
	data['userSrc'] = entity.userSrc;
	data['profileNo'] = entity.profileNo;
	data['profileLevel'] = entity.profileLevel;
	data['profilePhoto'] = entity.profilePhoto;
	data['profileCategory'] = entity.profileCategory;
	data['expireLevelTime'] = entity.expireLevelTime;
	data['memberExpire'] = entity.memberExpire;
	data['profilePoints'] = entity.profilePoints;
	data['realName'] = entity.realName;
	data['realTitle'] = entity.realTitle;
	data['realSex'] = entity.realSex;
	data['mobilePhone'] = entity.mobilePhone;
	data['homeAddr'] = entity.homeAddr;
	data['workAddr'] = entity.workAddr;
	data['maritalStatus'] = entity.maritalStatus;
	data['childNum'] = entity.childNum;
	data['nativePlace'] = entity.nativePlace;
	data['nationality'] = entity.nationality;
	data['emailAddr'] = entity.emailAddr;
	data['fixedPhone'] = entity.fixedPhone;
	data['openId'] = entity.openId;
	data['regFlag'] = entity.regFlag;
	data['singleState'] = entity.singleState;
	data['infoPer'] = entity.infoPer;
	data['creditValue'] = entity.creditValue;
	data['shareCode'] = entity.shareCode;
	data['createUser'] = entity.createUser;
	data['updateUser'] = entity.updateUser;
	data['incomeVal'] = entity.incomeVal;
	data['buyCar'] = entity.buyCar;
	data['purchase'] = entity.purchase;
	data['domicilePlace'] = entity.domicilePlace;
	data['edu'] = entity.edu;
	data['weight'] = entity.weight;
	data['height'] = entity.height;
	data['age'] = entity.age;
	data['introduce'] = entity.introduce;
	data['bornDate'] = entity.bornDate;
	data['animalSign'] = entity.animalSign;
	data['constellation'] = entity.constellation;
	data['upprLine'] = entity.upprLine;
	data['offLine'] = entity.offLine;
	data['occipation'] = entity.occipation;
	data['school'] = entity.school;
	data['aat'] = entity.aat;
	data['liveAddress'] = entity.liveAddress;
	data['nation'] = entity.nation;
	data['isRealAuth'] = entity.isRealAuth;
	data['signature'] = entity.signature;
	data['religiousBelief'] = entity.religiousBelief;
	data['taList'] = entity.taList;
	data['favoriteCount'] = entity.favoriteCount;
	data['favoriteFlag'] = entity.favoriteFlag;
	data['mcs'] = entity.mcs;
	data['csRemarks'] = entity.csRemarks;
	data['avatarList'] = entity.avatarList;
	data['easeuserId'] = entity.easeuserId;
	data['flist'] = entity.flist;
	data['tlist'] = entity.tlist;
	data['fCount'] = entity.fCount;
	data['tCount'] = entity.tCount;
	data['taCount'] = entity.taCount;
	data['isCheck'] = entity.isCheck;
	return data;
}